package cn.wetcland.urban.admin.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class AddressUpdateDTO {

    @NotNull(message = "请输入地址ID")
    private Long customerAddressId;

    @NotNull(message = "请输入详细地址")
    private String addressDetails;

    /**
     * 手机号
     */
    @NotNull(message = "请输入地址联系人手机号")
    private String phone;

    /**
     * 姓名
     */
    @NotNull(message = "请输入地址联系人姓名")
    private String name;

}
